import 'hello.dart';

void main(List<String> args) {
  var p = Person('xiaozh', age: 12);
  print(p.age);
  print(p.name);
}

class Person {
  final String name;
  final int age;
  Person(this.name, {int? age}) : this.age = age ?? 10 {}
}
